Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' ORDER BY scids.CAT_ID LIMIT 1' at line 1 in /var/www/html/moto/models/model_detail.php:110
Stack trace:
#0 /var/www/html/moto/models/model_detail.php(110): PDOStatement->execute()
#1 /var/www/html/moto/models/model_detail.php(30): Moto\Models\Model_Detail->getModelsFromCatalogNew('Honda', 'CB400 SUPER BOL...')
#2 /var/www/html/moto/controllers/controller_detail.php(22): Moto\Models\Model_Detail->get_car('1202997512')
#3 /var/www/html/moto/core/route.php(135): Moto\Controllers\Controller_Detail->default(Array)
#4 /var/www/html/moto/index.php(7): Moto\Core\Route::start()
#5 {main}
thrown in /var/www/html/moto/models/model_detail.php on line 110